OTP\Addons\PasswordReset\Handler\UMPasswordResetHandler A

Total Complexity 59
Dependencies 6
Dependents 1
Total lines 342
Lines of code 226
Logical lines of code 129
Comment lines 0
Methods 24
Properties 2

Methods 24

Method Rating Maintainability Complexity Lines of code
um_reset_password_errors_hook()
S
53 7 23
check_reset_password_limit()
S
57 5 16
__construct()
S
54 4 20
getUser()
S
61 4 12
sendAjaxOTPRequest()
S
53 3 25
miniorange_register_um_script()
S
57 3 16
handleFormOptions()
S
59 3 14
getPhoneNumberSelector()
S
69 3 6
getUmPwdObj()
S
68 2 8
startOtpTransaction()
S
68 2 6
isUltimateMemberV2Installed()
S
70 2 6
getUmOptions()
S
68 2 8
getUmUserObj()
S
68 2 8
handleForm()
S
65 2 8
getUmFormObj()
S
68 2 8
getUserFromPhoneNumber()
S
70 2 5
getUserId()
S
75 2 4
checkIntegrity()
S
70 2 6
checkIntegrityAndValidateOTP()
S
65 2 8
unsetOTPSessionVariables()
S
79 1 3
handle_post_verification()
S
79 1 3
handle_failed_verification()
S
79 1 3
um_reset_password_process_hook()
S
65 1 9
getIsOnlyPhoneReset()
S
92 1 1